package com.fance.dao;

import com.fance.model.LoginTicket;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author fance
 * @date 18-5-5 下午12:10
 */
@Mapper
public interface LoginTicketDAO {

    int addTicket(LoginTicket loginTicket);

    LoginTicket selectByTicket(String ticket);

    int updateStatus(@Param("ticket") String ticket, @Param("status") int status);
}
